<!--提现管理-->
<div class="animated fadeIn">
    <div class="row" style="padding-left: 20px">

        <div class="col-md-1.5" style="padding: 0;">
            <select name="name" id="select3" class="form-control" [(ngModel)]="keys" (change)="keyChanges()">
                <option value="">全部</option>
                <option value="1">昵称</option>
                <option value="2">手机号</option>
            </select>
        </div>
        <div class="col-md-3" style="padding: 0;margin-left: 15px">
            <input *ngIf="keys == ''" type="text" class="form-control btn-radius">
            <input *ngIf="keys == 1" type="text" class="form-control btn-radius"
                   [(ngModel)]="nickname">
            <input *ngIf="keys == 2" type="text" class="form-control btn-radius"
                   [(ngModel)]="phoneNum">
        </div>

        <!--<span class="text-line">审核状态</span>-->
        <!--<div class="col-md-2" style="padding: 0;margin-left: 15px">-->
        <!--<select name="name" id="select1" class="form-control" [(ngModel)]="state">-->
        <!--<option value="">全部</option>-->
        <!--<option value="1">未审核</option>-->
        <!--<option value="2">已审核</option>-->
        <!--</select>-->
        <!--</div>-->

        <div class="col-md-2" style="padding: 0;margin-left: 15px">
            <select name="name" id="select2" class="form-control" [(ngModel)]="state">
                <option value="">状态</option>
                <option value="1">提现失败</option>
                <option value="2">提现中</option>
                <option value="3">提现成功</option>
            </select>
        </div>

        <!--<span class="text-line" style="margin-left: 10px">审核时间</span>-->
        <!--<div class="col-md-2.5" style="padding-right: 10px;padding-left: 15px">-->
        <!--<input type="text" class="form-control btn-radius" id="startime" [(ngModel)]="start_time"-->
        <!--onfocus="WdatePicker()">-->
        <!--</div>-->
        <!--<span class="text-line">至</span>-->
        <!--<div class="col-md-2.5" style="padding-left: 10px">-->
        <!--<input type="text" class="form-control btn-radius" id="endtime" [(ngModel)]="end_time"-->
        <!--onfocus="WdatePicker()">-->
        <!--</div>-->
        <div class="col-md-1">
            <button class="btn btn-radius btn-primary" (click)="getData()">查询</button>
        </div>

        <!--<div class="col-md-1">-->
        <!--<button class="btn btn-radius btn-primary" (click)="exportFroms()">导出excel</button>-->
        <!--</div>-->
    </div>

    <div class="table-responsive" style="margin-top: 20px;overflow: auto">
        <table class="table table-center table-bordered table-hover" style="min-width: 0px">
            <thead class="table-inverse">
            <tr class="text-nowrap">
                <td>序号</td>
                <td>用户昵称</td>
                <!--<td>微信号</td>-->
                <td>银行手机号</td>
                <td>提现金额</td>
                <td>状态</td>
                <td>申请时间</td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody class="tab-content">
            <tr *ngFor="let item of dataArr let i =index">
                <td>{{i+1}}</td>
                <td>{{item['member_id']['nickname']}}</td>
                <!--<td>{{item}}</td>-->
                <td>{{item['member_id']['phonenum']}}</td>
                <td>{{item.pay_amount}}</td>
                <td>
                    <span *ngIf="item.pay_state ==1">提现失败</span>
                    <span *ngIf="item.pay_state ==2">提现中</span>
                    <span *ngIf="item.pay_state ==3">提现成功</span>
                </td>
                <td>{{item.add_time}}</td>
                <td>
                    <span *ngIf="item.put_forward_state !==2" class="removeBtn" style="color: #00b3ee"
                          [routerLink]="['view', item.id,1]">查看</span>
                    <span *ngIf="item.put_forward_state ==2" class="removeBtn" style="color: #00b3ee"
                          [routerLink]="['audit', item.id,2]">审核</span>
                    <!--<span class="removeBtn" (click)="delectIndex(item.id,2);smallModal.show()">删除</span>-->

                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <p *ngIf="isNodata" class="noneData">暂无数据</p>
    <div style="float: right">
        <pagination [boundaryLinks]="true" [totalItems]="totalItems" [(ngModel)]="currentPage" itemsPerPage="10"
                    [maxSize]="maxSize" previousText="上一页" nextText="下一页" firstText="首页" lastText="末页"
                    (pageChanged)="pageChanged($event)"></pagination>
    </div>
</div>


